package azku;

import android.content.Context;
import android.widget.Toast;

public class LogHelper {

	private static LogHelper _Instance;

	public static LogHelper It() {
		if (_Instance == null) {
			_Instance = new LogHelper();
		}
		return _Instance;
	}

	private Boolean mIsDebug = true;

	private LogHelper() {

	}

	public void e(Exception e) {
		if (!mIsDebug) {
			Toast.makeText(MyApplication.getInstance().getBaseContext(),
					e.getMessage(), Toast.LENGTH_SHORT);
		}
	}

	public void i(String msg, Context context) {
		Toast.makeText(context, msg, Toast.LENGTH_SHORT).show();
	}
}
